$OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.7 2015/03/15 02:58:07 pascal Exp $
--- gdb/data-directory/Makefile.in.orig	Thu Feb 19 12:58:07 2015
+++ gdb/data-directory/Makefile.in	Fri Feb 20 22:12:26 2015
@@ -168,7 +168,7 @@ stamp-syscalls: Makefile $(SYSCALLS_FILES)
 	for file in $$files ; do \
 	  f=$(SYSCALLS_SRCDIR)/$$file ; \
 	  if test -f $$f ; then \
-	    $(INSTALL_DATA) $$f ./$(SYSCALLS_DIR) ; \
+	    cp $$f ./$(SYSCALLS_DIR) ; \
 	  fi ; \
 	done
 	touch $@
@@ -210,8 +210,8 @@ stamp-python: Makefile $(PYTHON_FILES)
 	if test "x$$files" != x ; then \
 	  for file in $$files ; do \
 	    dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
-	    $(INSTALL_DIR) ./$(PYTHON_DIR)/$$dir ; \
-	    $(INSTALL_DATA) $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
+	    mkdir -p ./$(PYTHON_DIR)/$$dir ; \
+	    cp $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
 	  done ; \
 	fi
 	touch $@
@@ -304,7 +304,7 @@ stamp-system-gdbinit: Makefile $(SYSTEM_GDBINIT_FILES)
 	for file in $$files ; do \
 	  f=$(SYSTEM_GDBINIT_SRCDIR)/$$file ; \
 	  if test -f $$f ; then \
-	    $(INSTALL_DATA) $$f ./$(SYSTEM_GDBINIT_DIR) ; \
+	    cp $$f ./$(SYSTEM_GDBINIT_DIR) ; \
 	  fi ; \
 	done
 	touch $@
